home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1996 #14 / Monster Media No. 14 (April 1996) (Monster Media, Inc.).ISO / business / mixing10.zip / TWOPHINS.TXT < prev    next >
Text File  |  1990-05-20  |  8KB  |  156 lines

  1.                   T W O  P H A S E  F L O W
  2.  
  3. GENERAL INSTRUCTIONS
  4. The two phase flow program is designed to operate under MSDOS
  5. and will work with all IBM and Compatible PC's.  The files on
  6. the disk called TWOPHASE.EXE, TWOPHASE.INP, and TWOPHASE.PIC
  7. work together and should be transferred to the same sub-
  8. directory of your Hard Disk.  They are all part of the
  9. program.  The .PIC file contain the screens used by the
  10. program, and the .INP file contains information for the
  11. screen generator.  The .EXE file contains the program logic.
  12. The other files on the disk with the extension .TPH are
  13. example program.  When you save a file it will be saved with
  14. this extension.  The program is not copy protected, and can
  15. be installed onto your hard disk in the normal manner by
  16. copying all the files onto a sub directory of the hard disk.
  17.  
  18. The program can be started by inserting the program disk into
  19. the A drive and giving the name of the program TWOPHASE.
  20. The title screen will come up and you will be asked if you
  21. wish to load an existing file or run a new problem.  Input L
  22. to load a file or R to run a new case.  If you select L then
  23. the two phase problems save on the disk will be shown on the
  24. screen.  You can pick one by moving the cursor to the desired
  25. file and pressing the return key.  The file will be loaded
  26. and the Main operating screen will come up.  If you pressed R
  27. then this screen will come up with no input information
  28. loaded.
  29.  
  30. The TWO PHASE program uses function key with a command line
  31. prompt, and input windows.  The system is very user friendly
  32. and you will probably not require the use of these
  33. instructions to use the program.
  34.  
  35. PROGRAM OPERATION
  36. The Two phase program input screen will be the normal
  37. operating environment for the program.  You should start to
  38. operate by filling in the required information to size the
  39. lines.
  40.  
  41. The first field is the title for the problem.  You can use
  42. this field to identify the line by filling in the line number
  43. or case description.
  44.  
  45. The pipe schedule can be selected by pressing the F2 key. The
  46. default schedule is Schedule 40 CS.  If you press the F2 key
  47. a window will come up giving other choices.  The schedule key
  48. allows you to automatically give the true internal diameter
  49. and pipe roughness for different standard pipes.  These
  50. values can be over ridden by the main input screen if non-
  51. standard pipe is being used.
  52.  
  53.  
  54.  
  55. Input the Nominal diameter in inches and the internal
  56. diameter and pipe roughness is calculated and is shown on the
  57. screen.  The program will go to these fields so that you can
  58. override the values, if desired.  To accept the computer
  59. generated values then press the return key.  The Arrow keys
  60. that control the cursor will also move the cursor to various
  61. fields to permit selected input on desired fields.  However,
  62. the return key must be pressed to input a new value.
  63.  
  64. After the pipe information has been given, the data must be
  65. inputted to describe the fluids flowing through the pipe.
  66.  
  67. The Liquid information is filled in first.  Give the liquid
  68. flow rate in Lb/H, The Liquid Density in Lb/Ft3.  The Liquid
  69. Viscosity in Centipoise, and the liquid Surface Tension in
  70. Dyne/Cm.  Hydrocarbon systems have surface tension values of
  71. approximately 10 or less, Water has a surface tension of
  72. approximately 35.
  73.  
  74. The Vapor flow information is filled in next.  Give the flow
  75. rate in Lb/H, The vapor density in Lb/Ft3, and the Vapor
  76. Viscosity in centipoise.  The vapor density can be calculated
  77. for the pipe conditions by pressing the F4 key.  A window
  78. will come up that asks for the pressure in Psia, temperature
  79. in F, the MW of the gas and the Z or compressibility data.
  80. Fill out this information and press the F10 key and the vapor
  81. density will be calculated.  For isothermal flow problems
  82. where critical flow is not exceeded, the average pressure
  83. between the inlet and outlet pressures can be used to give a
  84. accurate result.  This may be a trial and error procedure
  85. that is made easily with this program.
  86.  
  87. When all data is filled in, the program can be run by
  88. pressing the F10 key.  If you do not press the F10 key then
  89. the input cursor will return to the first input field, the
  90. Case description and you can change the data.
  91.  
  92. When the F10 key is pressed the program calculates the flow
  93. regime of the system by using the Baker Chart method.  The
  94. program give the Baker chart coordinates X and Y as well as
  95. the flow regime.  This data is described in the Methodology
  96. section of these instructions.
  97.  
  98. The Lockhart and Martinelli method is used to calculate the
  99. two phase pressure drop, and is explained in the Methodology
  100. section.  The method is based on a correlation of two phase
  101. pressure drop from the pressure drops and flow regimes of the
  102. liquid and vapor as if they were flowing independently
  103. through the pipe.  Consequently the program calculates and
  104. presents the velocity, Reynolds Numbers, Friction Factors and
  105. PSI/100 feet for both the liquid and vapor phases.  The
  106. Martinelli X^2 and Omega^2 are also presented.  The two phase
  107. pressure drop is usually considerably higher than either the
  108. liquid or vapor phase pressure drop.
  109.  
  110. The total line pressure drop can be calculated by hand by
  111. multiplying the pressure drop for two phase flow in Psi/100
  112. ft by the total equivalent feet of the pipe system.  This is
  113. the straight length of pipe plus the pressure drop consumed
  114. by fittings and bends ect.  The effect of static head must
  115. also be calculated for vertical pipe rises.  The equivalent
  116. feet of fitting, bends ect. is calculated by pressing the F3
  117. key.  A window will come up that allows you to enter the
  118. fitting description,  When all the data is inputted then
  119. press the F10 key to calculate the total equivalent feet for
  120. the pipe diameter used in the Main Screen.
  121.  
  122. For homogeneous flow regimes the hydrostatic head can be
  123. calculated by pressing the F5 key.  This screen will also
  124. calculate criteria for erosion.  The methodology section
  125. reviews these procedures.  When calculating static head
  126. considerations for two phase flow, consider only the sum of
  127. the vertical rises.  Do not deduct for descending flow since
  128. you do not get a reduction in the pressured drop for downflow
  129. with two phase systems.
  130.  
  131. The F9 key will print a report of the two phase program to
  132. your printer.  First press F9 and then press the return key
  133. when your printer is ready.
  134.  
  135. The F8 key will save the problem to disk for future work.
  136. Press F8 and then F1 to save the file or F2 to load a new
  137. file from the disk.  The program will prompt you through the
  138. disk operations from the command line.  When saving a file
  139. you should give an eight letter name, but do not include a
  140. period or extension.  The extension TPH is automatically
  141. added to the name by the program for data files.
  142.  
  143. Press the ALT key and the Q key to quit the program.  The
  144. command line will ask if you really want to quit.  Answer
  145. with the Y key to exit.
  146.  
  147. PROGRAM LIMITATION
  148. The program will be accurate for conventional two phase flow
  149. process flow problems.  It is not accurate for critical flow
  150. and if the vapor velocity exceeds 300 ft per second then
  151. alternative methods based upon equations of state are
  152. required.
  153.  
  154. Alchemy Systems is interested in your comments regarding the
  155. use of this program and future enhancements that may be
  156. desired.